<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv="Cache-Control" content="no-transform">
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <title>我的刮刮卡</title>
    <link href="/statics/view/css/yy_common.css" rel="stylesheet">
    <link href="/statics/view/css/yy_user.css" rel="stylesheet">
</head>
<body>
<div class="m-user">
    <div class="m-simpleHeader" id="pro-view-0">
        <a href="/dMember/main" data-pro="back" data-back="true" class="m-simpleHeader-back"><i
                class="ico ico-back"></i></a>

        <h1>我的刮刮卡</h1>
    </div>
    <div class="m-user-bonusList">
        <div class="m-user-duobaoRecord" id="pro-view-0">
            <div data-pro="entry">
                <div id="pro-view-9">
                    <div data-pro="loading"></div>
                    <div class="w-bonus-list" data-pro="list">
                    [#list winnings as entity]
                        <div class="w-bonus-item" id="pro-view-11">
                            <div class="pic">
                                <img src="${entity.imgPath}" style="width: 75px;height: 80px;"/>
                            </div>
                            <div class="info">
                                <p class="title">${entity.jp}</p>

                                <p class="txt">获取时间：${entity.winningDate}</p>

                                <p class="remark">${entity.createDate}</p>

                                <p class="opt txt-suc">
                                    [#if entity.status =1]已兑换[#else]
                                        未兑换
                                    [/#if]
                                </p>
                            </div>
                        </div>
                    [/#list]
                    </div>
                    <div data-pro="more">
                        <div class="w-more" id="pro-view-14">
                            <div data-pro="link" style="display: none;"><a href="javascript:void(0);">上拉加载更多</a></div>
                            <div data-pro="loading" style="display:none"><b class="ico ico-loading"></b> 努力加载中</div>
                            <div data-pro="disable">已经没有更多</div>
                        </div>
                    </div>
                    <div class="m-simpleFooter m-detail-buy">
                        <div data-pro="text" class="m-simpleFooter-text" style="text-align:center">
                            <a  class="w-button w-button-main" href="${hdExt}">马上刮奖</a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="/statics/jquery/jquery.min.js"></script>
<script type="text/javascript" src="/statics/layer.m/layer.m.js"></script>
<script type="text/javascript">
    $(function () {
        $(".gifts-act").click(function () {
            var url = $(this).attr("href");
            $.ajax({
                url: url,
                type: "POST",
                dataType: "json",
                cache: false,
                success: function (message) {
                    layer.open({
                        content: message.content,
                        time: 2
                    });
                    window.location.reload();
                }, error: function () {
                    layer.open({
                        content: "服务器异常",
                        time: 2
                    });
                }
            });
            return false;
        });
    });
</script>
<div class="cnzz" style="display: none;">
    <script src="http://s4.cnzz.com/z_stat.php?id=1259390685&web_id=1259390685" language="JavaScript"></script>
</div>
</body>
</html>